//
//  ResponseModel.h
//  SXWallStove
//
//  Created by ZhangYeKun on 2017/2/13.
//  Copyright © 2017年 Fidetro. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NSObject+FIDProperty.h"
#import "NSString+FIDMatch.h"

@interface ResponseModel : NSObject

/**
 解析方法
 
 @param backContent 消息体
 @param propertyBytes 对象属性对应的有多少位
 @return 解析后return的对象
 */
- (instancetype)initWithHexadecimalBackContent:(NSString *)backContent propertyBytes:(NSArray<NSString *> *)propertyBytes;


- (instancetype)initWithBinaryBackContent:(NSString *)backContent propertyBytes:(NSArray<NSString *> *)propertyBytes;


- (NSInteger)xorOperation;

- (NSInteger)sumOperation;

- (void)setMacAddress:(NSString *)macAddress;

- (NSString *)macAddress;

- (NSString *)backContent;

@end
